Skip to main content

Chatbox

Chatbox is a type of component that implements chat stream solution. This component is useful when integrating streaming responses in form of a chat, i.e. to integrate Dais with AI chat solutions.

Service

This component requires backend to communicate with. This could be a persistent service run within Dais. Behind the url below you'll find sample openai_chatbox service, created to communicate with OpenAI.

Properties

Properties

Enable Markdown Syntax

Emable this option if messages may contain markdown in their content

Enable clear history

Enabling this property renders trash icon in top right corner of the chatbox. Clicking on it will clear chat history

External question

Link this property to the store or workflow step to programmatically provide question. Consider disabling input box as well.

Hide input box

Best used with previous option. Hides input box used to type question.

Messages

When linked to the store will persist messages.

Service

Service Name

Name of the persistent service to communicate with

Endpoint

Endpoint to call in that service

Styling

Response background

Color of the incoming bubble.

Response font color

Color of the response text.

Response text size

Size of the response text

Question background

Color of the outgoing bubble.

Question font color

Color of question text.

Question text size

Size of the question text.

Input background

Color of the question input box.

Input font color

Color of the input box text.

Question Placeholder

Placehodler text in input box.

Send icon background

Background color of the input box send icon.

Send icon color

Color of the input box send icon.